package org.idea.spring.aop.version2.bean;

import java.lang.reflect.Method;

/**
 * @Author linhao
 * @Date created in 4:06 下午 2021/5/7
 */
public class Advisor {

    private String aspectClass;

    private String pointCut;

    private Object aspectObj;

    private Method aspectBeforeMethod;

    private Method aspectAfterMethod;

    public String getAspectClass() {
        return aspectClass;
    }

    public void setAspectClass(String aspectClass) {
        this.aspectClass = aspectClass;
    }

    public String getPointCut() {
        return pointCut;
    }

    public void setPointCut(String pointCut) {
        this.pointCut = pointCut;
    }

    public Object getAspectObj() {
        return aspectObj;
    }

    public void setAspectObj(Object aspectObj) {
        this.aspectObj = aspectObj;
    }

    public Method getAspectBeforeMethod() {
        return aspectBeforeMethod;
    }

    public void setAspectBeforeMethod(Method aspectBeforeMethod) {
        this.aspectBeforeMethod = aspectBeforeMethod;
    }

    public Method getAspectAfterMethod() {
        return aspectAfterMethod;
    }

    public void setAspectAfterMethod(Method aspectAfterMethod) {
        this.aspectAfterMethod = aspectAfterMethod;
    }
}
